﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200087D RID: 2173
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class GetWaypointCsReq : IMessage<GetWaypointCsReq>, IMessage, IEquatable<GetWaypointCsReq>, IDeepCloneable<GetWaypointCsReq>, IBufferMessage
	{
		// Token: 0x17001B5F RID: 7007
		// (get) Token: 0x0600611B RID: 24859 RVA: 0x001023FC File Offset: 0x001005FC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<GetWaypointCsReq> Parser
		{
			get
			{
				return GetWaypointCsReq._parser;
			}
		}

		// Token: 0x17001B60 RID: 7008
		// (get) Token: 0x0600611C RID: 24860 RVA: 0x00102403 File Offset: 0x00100603
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return GetWaypointCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001B61 RID: 7009
		// (get) Token: 0x0600611D RID: 24861 RVA: 0x00102415 File Offset: 0x00100615
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return GetWaypointCsReq.Descriptor;
			}
		}

		// Token: 0x0600611E RID: 24862 RVA: 0x0010241C File Offset: 0x0010061C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWaypointCsReq()
		{
		}

		// Token: 0x0600611F RID: 24863 RVA: 0x00102424 File Offset: 0x00100624
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWaypointCsReq(GetWaypointCsReq other) : this()
		{
			this.pNOAKGNANBO_ = other.pNOAKGNANBO_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06006120 RID: 24864 RVA: 0x00102449 File Offset: 0x00100649
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public GetWaypointCsReq Clone()
		{
			return new GetWaypointCsReq(this);
		}

		// Token: 0x17001B62 RID: 7010
		// (get) Token: 0x06006121 RID: 24865 RVA: 0x00102451 File Offset: 0x00100651
		// (set) Token: 0x06006122 RID: 24866 RVA: 0x00102459 File Offset: 0x00100659
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint PNOAKGNANBO
		{
			get
			{
				return this.pNOAKGNANBO_;
			}
			set
			{
				this.pNOAKGNANBO_ = value;
			}
		}

		// Token: 0x06006123 RID: 24867 RVA: 0x00102462 File Offset: 0x00100662
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as GetWaypointCsReq);
		}

		// Token: 0x06006124 RID: 24868 RVA: 0x00102470 File Offset: 0x00100670
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(GetWaypointCsReq other)
		{
			return other != null && (other == this || (this.PNOAKGNANBO == other.PNOAKGNANBO && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06006125 RID: 24869 RVA: 0x001024A0 File Offset: 0x001006A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.PNOAKGNANBO != 0U)
			{
				num ^= this.PNOAKGNANBO.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06006126 RID: 24870 RVA: 0x001024DF File Offset: 0x001006DF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06006127 RID: 24871 RVA: 0x001024E7 File Offset: 0x001006E7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06006128 RID: 24872 RVA: 0x001024F0 File Offset: 0x001006F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.PNOAKGNANBO != 0U)
			{
				output.WriteRawTag(96);
				output.WriteUInt32(this.PNOAKGNANBO);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06006129 RID: 24873 RVA: 0x00102524 File Offset: 0x00100724
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.PNOAKGNANBO != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.PNOAKGNANBO);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600612A RID: 24874 RVA: 0x00102562 File Offset: 0x00100762
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(GetWaypointCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.PNOAKGNANBO != 0U)
			{
				this.PNOAKGNANBO = other.PNOAKGNANBO;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600612B RID: 24875 RVA: 0x00102593 File Offset: 0x00100793
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600612C RID: 24876 RVA: 0x0010259C File Offset: 0x0010079C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 96U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.PNOAKGNANBO = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400253E RID: 9534
		private static readonly MessageParser<GetWaypointCsReq> _parser = new MessageParser<GetWaypointCsReq>(() => new GetWaypointCsReq());

		// Token: 0x0400253F RID: 9535
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002540 RID: 9536
		public const int PNOAKGNANBOFieldNumber = 12;

		// Token: 0x04002541 RID: 9537
		private uint pNOAKGNANBO_;
	}
}
